home *** CD-ROM | disk | FTP | other *** search
- On 05-Ott-97, Mush wrote: AMOSPro or GUI Extension bug?
-
- >Im having a problem with AMOSPro, and I dont know if it is the Pro editor
- >itself, or something in the GUI extension that is affecting it.
-
- or something in your program ;)
-
-
- > ' Open up a CLI window and grab the news!
- > Proc WOP[2,50,50,540,100,"Mailinglist Manager Output..."]
- > Proc WPR[2,"Attempting to Execute News Recovery script"+Chr$(10)+Chr$(10)]
- > Proc WEX[2,"SYS:REXXC/Rx Mailserv:REXX/NNTPTransfer"]
- > Wait 200
- > WCL[2]
-
- >Now, the real problem is the fact that the routine is deleting the contents
- >of the WEX[""] line, no matter where i run it from, and no matter what is
- >in it, when I go back to source format, the line will read:
- >
- > Proc WEX["
- >
- >
- >Ive never used these procedures in ages, and only after starting using the
- >GUI extension, am I discovering these wierd effects. Like I said, I dont
- >know if its AMOSPro, or the GUI Extension.
-
- Oh no.... the bug is in the WEX procedure, exactly here:
-
-
- If Len(COM$)>0
- V=Varptr(COM$)
- For ZZ=0 To Len(COM$)-1 : Poke ZZ+V,0 : Next ZZ
- End If
-
-
- This is a *very* bad idea. The FOR cycle is destroing your source code!
- Poke directly a 0 into a amos string is dangeours... the explanation is a
- bit boring. You can find it in the AmosPro manual... section 14.A.08
-
-
- In order to fix the problem, remove this unuseful(???) lines from the
- procedure.
-
- --
-
-
- Bye!
-
-
- !!!
- o o
- +-----------------------------oOO-(_)-OOo----------------------------+
- | |
- | Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
- | E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
- | Team AMIGA \/// 1OMB - CD4x |
- | |
- | Amos Professional Team Coordinator AMIGA RULEZ!! |
- | |
- +--------------------------------------------------------------------+
-
-
-